from rest_framework import serializers
from HttpTestcase.models import TestsuiteTestcaseReports
from HttpTestcase.models import TestsuiteReports
from HttpTestcase.models import Testsuite

# class TestsuiteSerializer(serializers.ModelSerializer):
#     class Meta:
#         model = Testsuite
#         fields = '__all__'

# class TestsuiteReportsSerializer(serializers.ModelSerializer):
#


class TestsuiteTestcaseReportsSerializer(serializers.ModelSerializer):
    execute_time = serializers.DateTimeField(format="%Y-%m-%d %H:%M:%S")


    class Meta:
        model = TestsuiteTestcaseReports
        fields = '__all__'
